﻿using System;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;


namespace SpaceAdventureLib.Menus
{
    [Serializable]
    public class SubMenu
    {

        #region "Properties"

        private MainMenu mainMenu = null;
        public MainMenu MainMenu
        {
            get { return this.mainMenu; }
            set { this.mainMenu = value; }
        }

        #endregion

        #region "Constructors"

        public SubMenu(MainMenu mainMenu)
        {
            this.mainMenu = mainMenu;
            this.mainMenu.SubMenus.Add(this);
        }
                
        #endregion

        #region "General Methods"

        public void Initialize()
        {
            // initialize
        }

        public void LoadContent()
        {
            // load 
        }

        public void UnloadContent()
        {
            // unload 
        }

        #endregion

        #region "Methods"

        public void Update(GameTime gameTime)
        {
            // add updating stuff
        }

        public void Draw(GraphicsDevice g)
        {
            // add drawing stuff
        }

        #endregion


    }
}
